<!-- Main content -->
<div>
    <!-- Main content -->
    <section class="content" ng-controller="brandManageCtr" ng-init="init()">
        <div class="row">
            <div class="col-xs-12">
                <div class="box">
                    <!-- /.box-header -->
                    <div class="box-body">
                        <div class="form-group col-sm-3">
                            <label>品牌名称</label>
                            <input class="form-control"
                                   ng-model="queryParam.name">
                        </div>

                        <div class="form-group col-sm-12">
                            <button type="submit" class="btn btn-primary" ng-click="queryBrand()"
                                    ng-if="user.permitMap.BRAND_MANAGE">查询
                            </button>
                            <button type="submit" class="btn btn-primary" ng-click="openAddModal()"
                                    ng-if="user.permitMap.BRAND_CREATE">添加
                            </button>
                            <button type="submit" class="btn btn-primary" ng-click="openEditModal()"
                                    ng-if="user.permitMap.BRAND_EDIT">编辑
                            </button>
                            <button type="submit" class="btn btn-primary" ng-click="deleteBrand()"
                                    ng-if="user.permitMap.BRAND_DELETE">删除
                            </button>
                            <button type="submit" class="btn btn-primary" ng-click="export()">导出Excel</button>
                        </div>
                        <div class="form-group col-sm-12">
                            <div id="brandGird" ui-grid="brandGird" ui-grid-selection
                                 ui-grid-pagination ui-grid-auto-resize ui-grid-empty-base-layer ui-grid-exporter></div>
                        </div>
                        <!--<table id="businessPurchasePoints" class="table table-bordered table-striped"></table>-->
                    </div>
                    <!-- /.box-body -->
                </div>
                <!-- /.box -->
            </div>
            <!-- /.col -->
        </div>
        <!-- /.row -->
    </section>
</div>
